package com.jl.smartcard.ui.views.filesystem;

import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.swt.graphics.Image;

import com.jl.smartcard.ui.ImageShop;


class ViewLabelProvider extends LabelProvider {

	@Override
	public String getText(Object obj) {
		return obj.toString();
	}
	@Override
	public Image getImage(Object obj) {
		if (obj instanceof TreeDF)
		   return ImageShop.get("df_16");
		return ImageShop.get("ef_16");
	}
}